<?php
$tdatatbl_lien_ket_web=array();
	$tdatatbl_lien_ket_web[".NumberOfChars"]=80; 
	$tdatatbl_lien_ket_web[".ShortName"]="tbl_lien_ket_web";
	$tdatatbl_lien_ket_web[".OwnerID"]="";
	$tdatatbl_lien_ket_web[".OriginalTable"]="tbl_lien_ket_web";


	
//	field labels
$fieldLabelstbl_lien_ket_web = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelstbl_lien_ket_web["English"]=array();
	$fieldToolTipstbl_lien_ket_web["English"]=array();
	$fieldLabelstbl_lien_ket_web["English"]["id"] = "Id";
	$fieldToolTipstbl_lien_ket_web["English"]["id"] = "";
	$fieldLabelstbl_lien_ket_web["English"]["link_lien_ket"] = "Link Lien Ket";
	$fieldToolTipstbl_lien_ket_web["English"]["link_lien_ket"] = "";
	$fieldLabelstbl_lien_ket_web["English"]["tieu_de"] = "Tieu De";
	$fieldToolTipstbl_lien_ket_web["English"]["tieu_de"] = "";
	if (count($fieldToolTipstbl_lien_ket_web["English"])){
		$tdatatbl_lien_ket_web[".isUseToolTips"]=true;
	}
}


	
	$tdatatbl_lien_ket_web[".NCSearch"]=true;

	

$tdatatbl_lien_ket_web[".shortTableName"] = "tbl_lien_ket_web";
$tdatatbl_lien_ket_web[".nSecOptions"] = 0;
$tdatatbl_lien_ket_web[".recsPerRowList"] = 1;	
$tdatatbl_lien_ket_web[".tableGroupBy"] = "0";
$tdatatbl_lien_ket_web[".mainTableOwnerID"] = "";
$tdatatbl_lien_ket_web[".moveNext"] = 1;




$tdatatbl_lien_ket_web[".showAddInPopup"] = false;

$tdatatbl_lien_ket_web[".showEditInPopup"] = false;

$tdatatbl_lien_ket_web[".showViewInPopup"] = false;


$tdatatbl_lien_ket_web[".fieldsForRegister"] = array();

$tdatatbl_lien_ket_web[".listAjax"] = false;

	$tdatatbl_lien_ket_web[".audit"] = false;

	$tdatatbl_lien_ket_web[".locking"] = false;
	
$tdatatbl_lien_ket_web[".listIcons"] = true;
$tdatatbl_lien_ket_web[".edit"] = true;
$tdatatbl_lien_ket_web[".inlineEdit"] = true;
$tdatatbl_lien_ket_web[".view"] = true;

$tdatatbl_lien_ket_web[".exportTo"] = true;

$tdatatbl_lien_ket_web[".printFriendly"] = true;

$tdatatbl_lien_ket_web[".delete"] = true;

$tdatatbl_lien_ket_web[".showSimpleSearchOptions"] = false;

$tdatatbl_lien_ket_web[".showSearchPanel"] = true;


$tdatatbl_lien_ket_web[".isUseAjaxSuggest"] = true;

$tdatatbl_lien_ket_web[".rowHighlite"] = true;


// button handlers file names

$tdatatbl_lien_ket_web[".addPageEvents"] = false;

$tdatatbl_lien_ket_web[".arrKeyFields"][] = "id";

// use datepicker for search panel
$tdatatbl_lien_ket_web[".isUseCalendarForSearch"] = false;

// use timepicker for search panel
$tdatatbl_lien_ket_web[".isUseTimeForSearch"] = false;

$tdatatbl_lien_ket_web[".isUseiBox"] = false;



$tdatatbl_lien_ket_web[".isUseInlineAdd"] = true;

$tdatatbl_lien_ket_web[".isUseInlineEdit"] = true;
$tdatatbl_lien_ket_web[".isUseInlineJs"] = $tdatatbl_lien_ket_web[".isUseInlineAdd"] || $tdatatbl_lien_ket_web[".isUseInlineEdit"];

$tdatatbl_lien_ket_web[".allSearchFields"] = array();

$tdatatbl_lien_ket_web[".globSearchFields"][] = "link_lien_ket";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("link_lien_ket", $tdatatbl_lien_ket_web[".allSearchFields"]))
{
	$tdatatbl_lien_ket_web[".allSearchFields"][] = "link_lien_ket";	
}
$tdatatbl_lien_ket_web[".globSearchFields"][] = "tieu_de";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tieu_de", $tdatatbl_lien_ket_web[".allSearchFields"]))
{
	$tdatatbl_lien_ket_web[".allSearchFields"][] = "tieu_de";	
}


$tdatatbl_lien_ket_web[".googleLikeFields"][] = "id";
$tdatatbl_lien_ket_web[".googleLikeFields"][] = "link_lien_ket";
$tdatatbl_lien_ket_web[".googleLikeFields"][] = "tieu_de";



$tdatatbl_lien_ket_web[".advSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatatbl_lien_ket_web[".allSearchFields"])) 
{
	$tdatatbl_lien_ket_web[".allSearchFields"][] = "id";	
}
$tdatatbl_lien_ket_web[".advSearchFields"][] = "link_lien_ket";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("link_lien_ket", $tdatatbl_lien_ket_web[".allSearchFields"])) 
{
	$tdatatbl_lien_ket_web[".allSearchFields"][] = "link_lien_ket";	
}
$tdatatbl_lien_ket_web[".advSearchFields"][] = "tieu_de";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tieu_de", $tdatatbl_lien_ket_web[".allSearchFields"])) 
{
	$tdatatbl_lien_ket_web[".allSearchFields"][] = "tieu_de";	
}

$tdatatbl_lien_ket_web[".isTableType"] = "list";


	

$tdatatbl_lien_ket_web[".isDisplayLoading"] = true;

$tdatatbl_lien_ket_web[".isResizeColumns"] = false;





$tdatatbl_lien_ket_web[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatatbl_lien_ket_web[".strOrderBy"] = $gstrOrderBy;
	
$tdatatbl_lien_ket_web[".orderindexes"] = array();

$tdatatbl_lien_ket_web[".sqlHead"] = "SELECT id,  link_lien_ket,  tieu_de";
$tdatatbl_lien_ket_web[".sqlFrom"] = "FROM tbl_lien_ket_web";
$tdatatbl_lien_ket_web[".sqlWhereExpr"] = "";
$tdatatbl_lien_ket_web[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatatbl_lien_ket_web[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatatbl_lien_ket_web[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "id";
	$tdatatbl_lien_ket_web[".Keys"] = $tableKeys;

//	id
	$fdata = array();
	$fdata["strName"] = "id";
	$fdata["ownerTable"] = "tbl_lien_ket_web";
		$fdata["Label"]="Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "id";
	
		$fdata["FullName"]= "id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdatatbl_lien_ket_web["id"]=$fdata;
//	link_lien_ket
	$fdata = array();
	$fdata["strName"] = "link_lien_ket";
	$fdata["ownerTable"] = "tbl_lien_ket_web";
		$fdata["Label"]="Link Lien Ket"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "link_lien_ket";
	
		$fdata["FullName"]= "link_lien_ket";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=200";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_lien_ket_web["link_lien_ket"]=$fdata;
//	tieu_de
	$fdata = array();
	$fdata["strName"] = "tieu_de";
	$fdata["ownerTable"] = "tbl_lien_ket_web";
		$fdata["Label"]="Tieu De"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "tieu_de";
	
		$fdata["FullName"]= "tieu_de";
	
		
		
		
		
		
				$fdata["Index"]= 3;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=200";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_lien_ket_web["tieu_de"]=$fdata;

	
$tables_data["tbl_lien_ket_web"]=&$tdatatbl_lien_ket_web;
$field_labels["tbl_lien_ket_web"] = &$fieldLabelstbl_lien_ket_web;
$fieldToolTips["tbl_lien_ket_web"] = &$fieldToolTipstbl_lien_ket_web;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["tbl_lien_ket_web"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["tbl_lien_ket_web"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto13=array();
$proto13["m_strHead"] = "SELECT";
$proto13["m_strFieldList"] = "id,  link_lien_ket,  tieu_de";
$proto13["m_strFrom"] = "FROM tbl_lien_ket_web";
$proto13["m_strWhere"] = "";
$proto13["m_strOrderBy"] = "";
$proto13["m_strTail"] = "";
$proto14=array();
$proto14["m_sql"] = "";
$proto14["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto14["m_column"]=$obj;
$proto14["m_contained"] = array();
$proto14["m_strCase"] = "";
$proto14["m_havingmode"] = "0";
$proto14["m_inBrackets"] = "0";
$proto14["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto14);

$proto13["m_where"] = $obj;
$proto16=array();
$proto16["m_sql"] = "";
$proto16["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto16["m_column"]=$obj;
$proto16["m_contained"] = array();
$proto16["m_strCase"] = "";
$proto16["m_havingmode"] = "0";
$proto16["m_inBrackets"] = "0";
$proto16["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto16);

$proto13["m_having"] = $obj;
$proto13["m_fieldlist"] = array();
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "tbl_lien_ket_web"
));

$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto13["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "link_lien_ket",
	"m_strTable" => "tbl_lien_ket_web"
));

$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

$proto13["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "tieu_de",
	"m_strTable" => "tbl_lien_ket_web"
));

$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "";
$obj = new SQLFieldListItem($proto22);

$proto13["m_fieldlist"][]=$obj;
$proto13["m_fromlist"] = array();
												$proto24=array();
$proto24["m_link"] = "SQLL_MAIN";
			$proto25=array();
$proto25["m_strName"] = "tbl_lien_ket_web";
$proto25["m_columns"] = array();
$proto25["m_columns"][] = "id";
$proto25["m_columns"][] = "link_lien_ket";
$proto25["m_columns"][] = "tieu_de";
$obj = new SQLTable($proto25);

$proto24["m_table"] = $obj;
$proto24["m_alias"] = "";
$proto26=array();
$proto26["m_sql"] = "";
$proto26["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto26["m_column"]=$obj;
$proto26["m_contained"] = array();
$proto26["m_strCase"] = "";
$proto26["m_havingmode"] = "0";
$proto26["m_inBrackets"] = "0";
$proto26["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto26);

$proto24["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto24);

$proto13["m_fromlist"][]=$obj;
$proto13["m_groupby"] = array();
$proto13["m_orderby"] = array();
$obj = new SQLQuery($proto13);

$queryData_tbl_lien_ket_web = $obj;
$tdatatbl_lien_ket_web[".sqlquery"] = $queryData_tbl_lien_ket_web;

$tableEvents["tbl_lien_ket_web"] = new eventsBase;

?>
